
<div id="tabs-base">

<div class="tec-ui-td-normal">
<table>
	<tr>
		<td align="right">流水号：</td>
		<td>{[$result.id]}（{[$result.oper_t]}）</td>
		<td align="right">填单日期：</td>
		<td>{[$result.date|date_format:'%Y-%m-%d']}</td>
	</tr>
	<tr>
		<td width="20%" align="right">分类：</td>
		<td width="30%">{[$result.type_t]}</td>
		<td width="20%" align="right">状态：</td>
		<td width="30%">{[$result.status_t]}</td>
	</tr>
	<tr>
		<td align="right">事由：</td>
		<td colspan="3">{[$result.name]}</td>
	</tr>
	<tr>
		<td align="right">供应商：</td>
		<td id="edit_supplier" colspan="3">{[$result.supplier_x->fullname]}<br />
		地址：{[$result.supplier_x->address]} 网站：{[$result.supplier_x->web]}</td>
	</tr>
	<tr>
		<td align="right">联系人：</td>
		<td id="edit_linkman" colspan="3">{[$result.supplier_x->contact]} 手机：{[$result.supplier_x->mobile]}
		电话：{[$result.supplier_x->tel]} 传真：{[$result.supplier_x->fax]} 电邮：{[$result.supplier_x->email]}</td>
	</tr>
	<tr>
		<td align="right">紧急程度：</td>
		<td colspan="3">{[html_checkboxes name="urgent" options=$urgent_option selected=$result.urgent]}</td>
	</tr>

	<tr>
		<td align="right">凭证：</td>
		<td colspan="3">{[html_checkboxes name="invoice" options=$invoice_option selected=$result.invoice]}</td>
	</tr>
	<tr>
		<td align="right">金额：</td>
		<td colspan="3">（大写）{[$result.currency_t]} {[$result.amount|rmb]} （小写）{[$result.currency]} {[$result.amount|money]}</td>
	</tr>
	<tr>
		<td align="right">支付：</td>
		<td colspan="3">{[html_checkboxes name="payment" options=$payment_option selected=$result.payment]} [{[$result.payment_z]}]</td>
	</tr>
	{[if $result.payment eq '1' or $result.payment eq '3']}
	<tr>
		<td></td>
		<td colspan="3">{[include file="finance/payment/_linkman_view.tpl"]}</td>
	</tr>
	{[/if]} {[if $result.payment eq '2' or $result.payment eq '4']}
	<tr>
		<td></td>
		<td colspan="3">{[include file="finance/payment/_bank_view.tpl"]}</td>
	</tr>
	{[/if]}
	<tr>
		<td align="right">水单：</td>
		<td colspan="3">{[html_checkboxes name="voucher" options=$voucher_option selected=$result.voucher]} {[$result.voucher_x]}</td>
	</tr>
	<tr>
		<td align="right" height="50">备注：</td>
		<td id="edit_content" colspan="3">{[$result.content]}</td>
	</tr>
	<tr>
		<td colspan="4">
		{[include file="_file_view.tpl"]}
		</td>
	</tr>
	<tr>
		<td align="right">负责人：</td>
		<td>{[$result.emp_t]}</td>
		<td align="right">创建时间：</td>
		<td>{[$result.createtime]}</td>
	</tr>
	<tr>
		<td align="right">录入员：</td>
		<td>{[$result.oper_t]}</td>
		<td align="right">更新时间：</td>
		<td>{[$result.modifytime]}</td>
	</tr>
	<tr>		
		<td align="right">出纳：</td>
		<td>{[$result.cashier_t]}</td>
		<td align="right">完成时间：</td>
		<td>{[$result.finish]}</td>
	</tr>
</table>
</div>
</div>

<div id="tabs-item">
{[assign var="out_item_list" value="`$result.item`"]}

{[include file="finance/out/item/_list_a.tpl"]}

</div>
